package API.DAY11.reflect;

import java.util.Arrays;

public class ArgsDemo {
    public static void main(String[] args) {
        doSome(1, "123");
        doSome(2, "123","456");
        doSome(3, "123","456","789");
    }
    public static void doSome(int a ,String... arg){
        System.out.println(arg.length);
        System.out.println(Arrays.toString(arg));
    }
}
